package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 楼盘动态信息外部关系
 **/
@Data
@Entity
@Table(name = "tr_premises_dynamic_external")
public class PremisesDynamicExternal extends BaseDomain {

    @ApiModelProperty("主键")
    @Column(name = "id")
    private Long id;

    @ApiModelProperty("楼盘id")
    @Column(name = "premises_id")
    private Long premisesId;

    @ApiModelProperty("楼盘外部id")
    @Column(name = "premises_uuid")
    private String premisesUuid;

    @ApiModelProperty("外部公司id")
    @Column(name = "external_company_id")
    private String externalCompanyId;

    @ApiModelProperty("渠道楼盘动态id")
    @Column(name = "dynamic_id")
    private Long dynamicId;

    @ApiModelProperty("其他关联id")
    @Column(name = "dynamic_uuid")
    private String dynamicUuid;

    @ApiModelProperty("系统类型 1:V10")
    @Column(name = "sys_id")
    private String sysId;

    @ApiModelProperty("是否删除 0：否 1：是")
    @Column(name = "is_deleted")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @Column(name = "update_time")
    private Date updateTime;
}
